import request from '@/utils/request'
export const permissionAll = data => {
    return request({
        url: '/adminPermission/getAdminPermission',
        method: 'get',
        data,
    })
}

export const permissionSave = data => {
    return request({
        url: '/adminPermission/postAddAdminPermission',
        method: 'post',
        data,
    })
}

export const deleteAdminPermissionById = data => {
    return request({
        url: '/adminPermission/deleteAdminPermissionById',
        method: 'delete',
        data,
    })
}